package com.gxa.xiaoucomeshome.service;

import com.gxa.xiaoucomeshome.pojo.Log;
import com.gxa.xiaoucomeshome.vo.LogVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;


public interface LogService {
    void insertLog(Log log);
    List<LogVo> getSelectLog(Integer page,
                             Integer size,
                             String log_type,
                             Date start_log_time,
                             Date end_log_time);

    //日志条数
    Integer selectLogCount(
            String log_type,
            Date start_log_time,
            Date end_log_time);
}
